/*
  Copyright 2009 Smart Enterprise Solution Corp.
  Email: contact@ses.vn - Website: http://www.ses.vn
  KimNgan Project.
*/
using System;
using System.Data;
using System.Configuration;
using System.Collections;

using SES.CMS.DAL;
using SES.CMS.DO;
/// <summary>
/// Summary description for cmsOrdersBL
/// </summary>
namespace SES.CMS.BL 
{
    public class cmsOrdersBL 
    {
    	#region Private Variables
		cmsOrdersDAL objcmsOrdersDAL;
		#endregion
		
        #region Public Constructors
        public cmsOrdersBL()
        {
            //
            // TODO: Add constructor logic here
            //
            objcmsOrdersDAL=new cmsOrdersDAL();
        }
        #endregion       

        #region Public Methods
        public int Insert(cmsOrdersDO objcmsOrdersDO)
        {
            return objcmsOrdersDAL.Insert(objcmsOrdersDO);
        }

        public int Update(cmsOrdersDO objcmsOrdersDO)
        {
             return objcmsOrdersDAL.Update(objcmsOrdersDO);

        }

        public int Delete(cmsOrdersDO objcmsOrdersDO)
        {
             return objcmsOrdersDAL.Delete(objcmsOrdersDO);

        }

         public int DeleteAll()
        {
             return objcmsOrdersDAL.DeleteAll();
        }

        public cmsOrdersDO Select(cmsOrdersDO objcmsOrdersDO)
        {
            return objcmsOrdersDAL.Select(objcmsOrdersDO);
        }

        public ArrayList SelectAll1( )
        {
         return objcmsOrdersDAL.SelectAll1();
        }
        
        public DataTable SelectAll( )
        {
         return objcmsOrdersDAL.SelectAll();
        }
        public DataTable SelectAll2()
        {
            return objcmsOrdersDAL.SelectAll2();
        }
        public DataTable SelectAllOld(bool Status)
        {
            return objcmsOrdersDAL.SelectAllOld(Status);
        }
        public DataTable GetByStatus(bool Status)
        {
            return objcmsOrdersDAL.GetByStatus(Status);
        }

     
#endregion          
    
    }

}
